Skip to content

fix(deps): update dependency @shopify/shopify-app-session-storage-prisma to v9#86

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/shopify-shopify-app-session-storage-prisma-9.x
Open

fix(deps): update dependency @shopify/shopify-app-session-storage-prisma to v9#86
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/shopify-shopify-app-session-storage-prisma-9.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 16, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@shopify/shopify-app-session-storage-prisma (source) ^8.0.0^9.0.0 age adoption passing confidence

Release Notes

Shopify/shopify-app-js (@​shopify/shopify-app-session-storage-prisma)

v9.0.0

Patch Changes

v8.0.1

v8.0.0

Major Changes
  • 700377f: ## Store user information as part of the session

    With this change, OAuth refresh tokens and their expiration dates are now stored as part of the session. Previously, only access tokens were persisted. This enables automatic token refresh for long-lived sessions, reducing the need for users to re-authenticate when access tokens expire. This is a backward-compatible change, as the new Prisma schema fields are optional and existing sessions will continue to work without modification.

    Details

    The session object now includes the following additional fields:

    {
      id: 'offline_session_id',
      shop: 'my-shop.myshopify.com',
      state: 'session-state',
      isOnline: false,
      scope: 'read_products,write_orders',
      accessToken: 'shpat_abc123',
      expires: 2025-11-17T18:00:00.000Z,
      refreshToken: 'shprt_def456',           // New field
      refreshTokenExpires: 2025-12-17T18:00:00.000Z,  // New field
    }

    You will be able to access the refresh token information on the Session object once you migrate your schema.

    To migrate your schema:

    1. Add the new fields to your Session model in the Prisma Schema:
    model Session {
      // ...
      refreshToken        String?
      refreshTokenExpires DateTime?
    }
    1. Run the migration command:
    npx prisma migrate dev
    1. Update the generated types to include the new fields:
    npx prisma generate

    Usage:

    const session = await sessionStorage.loadSession(sessionId);
    
    console.log('refresh token', session.refreshToken);
    console.log('refresh token expires', session.refreshTokenExpires);
    
    // Check if refreshToken is available
    if (session.refreshToken) {
      // Use refresh token to get a new access token
    }

v7.0.3

v7.0.2

v7.0.1

v7.0.0

Major Changes
  • [dc41d09]: @shopify/shopify-api now requires Node >= v20.10.0.

    As @shopify/shopify-api is a peer dependency, this is a breaking change, though we expect real world impact to be minimal for most users.

    If you are using Node, make sure you are using Node version 20.10.0 or above

Patch Changes

v6.0.9

v6.0.8

Patch Changes
  • e298a0c: Fix issue with missing sourcemaps

v6.0.7

v6.0.6

Patch Changes

v6.0.5

v6.0.4

v6.0.3

v6.0.2

v6.0.1

v6.0.0

Major Changes
  • 12c387e: # Update Prisma dependency

    This updates the prisma peer dependency to ^6.2.1.

    Please update your prisma and @prisma/client dependencies to ^6.2.1 in your project.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "on monday before 8am"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from a team as a code owner March 16, 2026 01:12
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Mar 16, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: examples/shopify-integration/package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm warn Unknown project config "auto-install-peers". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm warn Unknown project config "shamefully-hoist". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm warn Unknown project config "enable-pre-post-scripts". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: javascript-integration@undefined
npm error Found: react@19.2.6
npm error node_modules/react
npm error   react@"^19.0.0" from the root project
npm error   peer react@"*" from @shopify/shopify-app-remix@4.2.0
npm error   node_modules/@shopify/shopify-app-remix
npm error     @shopify/shopify-app-remix@"^4.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"^18.0.0" from @remix-run/react@2.17.4
npm error node_modules/@remix-run/react
npm error   @remix-run/react@"^2.7.1" from the root project
npm error   peer @remix-run/react@"*" from @shopify/shopify-app-remix@4.2.0
npm error   node_modules/@shopify/shopify-app-remix
npm error     @shopify/shopify-app-remix@"^4.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-05-18T16_47_49_128Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-05-18T16_47_49_128Z-debug-0.log

@renovate renovate Bot force-pushed the renovate/shopify-shopify-app-session-storage-prisma-9.x branch from 232ed91 to 1bec6fb Compare April 1, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants